﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TrademarkGuide.aspx.cs" Inherits="GreatB2C.Web.Manage.SystemSet.Shop.TrademarkGuide" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>品牌管理向导</title>
    <link href="../../../App_Themes/AdminDefaultTheme/Guide.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/index.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/MasterPage.css" type="text/css"
        rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/xtree.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" src="../../../Resource/Script/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="../../../Resource/Script/common.js"></script>

    <script type="text/javascript">
        function JumpToMainRight(url) { parent.frames["main_right"].location = url; }
        function JumpToMainLeft(url) { parent.frames["left"].location = url; }
        function ReloadMainRight() { parent.frames["main_right"].location.reload(); }
        function Switch(obj) {
            obj.className = (obj.className == "guideexpand") ? "guidecollapse" : "guideexpand";
            var nextDiv;
            if (obj.nextSibling) {
                if (obj.nextSibling.nodeName == "DIV") {
                    nextDiv = obj.nextSibling;
                }
                else {
                    if (obj.nextSibling.nextSibling) {
                        if (obj.nextSibling.nextSibling.nodeName == "DIV") {
                            nextDiv = obj.nextSibling.nextSibling;
                        }
                    }
                }
                if (nextDiv) {
                    nextDiv.style.display = (nextDiv.style.display != "") ? "" : "none";
                }
            }
        }

        function OpenMainRightType(value, title) {
            var url = "TrademarkManage.aspx?TrademarkTitle=" + title + "&TrademarkType=" + value;
            JumpToMainRight(url);
        }

        function OpenMainRight() {
            var field = 0;
            var keyword = document.getElementById("txtKeyWord").value.Trim();
            var objSel = document.getElementById("selField");
            field = objSel.options[objSel.options.selectedIndex].value;
            var url = "TrademarkManage.aspx?Action=Search&SearchType=" + field + "&KeyWord=" + escape(keyword);
            JumpToMainRight(url);
        }

    </script>

    <style type="text/css">
        <!--
        .skin1
        {
            cursor: default;
            font: menutext;
            position: absolute;
            text-align: left;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 10pt;
            width: 120px;
            background-color: #cccccc;
            border: 1 solid buttonface;
            visibility: hidden;
            border: 2 outset buttonhighlight;
        }
        .menuitems
        {
            padding-left: 15px;
            padding-right: 10px;
        }
        -- >
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="Guide_back">
        <ul>
            <li id="Guide_top">
                <div id="Guide_toptext">
                    品牌管理
                </div>
            </li>
            <li id="Guide_main">
                <div id="Guide_box">
                    <div class="guideexpand" onclick="Switch(this)">
                        常规操作</div>
                    <div class="guide">
                        <ul>
                            <li><a href="TrademarkAdd.aspx" target="main_right">添加品牌</a></li>
                        </ul>
                    </div>
                    <div class="guideexpand" onclick="Switch(this)">
                        快速查找</div>
                    <div class="guide">
                        <asp:Label ID="lblCategory" runat="server" Text=""></asp:Label>                        
                    </div>
                    <div class="guideexpand" onclick="Switch(this)">
                        高级查询</div>
                    <div class="guidesearch">
                        <ul>
                            <li>
                                <select id="selField" style="width: 140px">
                                    <option value="TrademarkName">品牌名称</option>
                                    <option value="TrademarkShortName">品牌缩写</option>
                                    <option value="Address">品牌地址</option>
                                    <option value="Postcode">品牌邮编</option>
                                    <option value="Phone">品牌电话</option>
                                    <option value="TrademarkIntro">品牌简介</option>
                                </select>
                            </li>
                            <li>
                                <input id="txtKeyWord" style="width: 134px;" type="text" class="inputtext" />
                            </li>
                            <li>
                                <input id="BtnSearch" type="button" class="inputbutton" value="查询" onclick="OpenMainRight()" />
                            </li>
                        </ul>
                    </div>
                </div>
            </li>
            <li id="Guide_bottom"></li>
        </ul>
    </div>
    </form>
</body>
</html>
